package com.ycrlkj.android.modulescore.main.entity;

import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String name;

    private String phone;

    private String photo;

    private String password;

    private String newPassword;

    private Integer disabled;//是否禁用: 0=>未禁用, 1=>禁用

    private String createTime;

    private String updateTime;


    // ========================= 以下字段 从用户微信登录中获取 ===============================
    private String wxName;

    private String wxAvatar;

    private String wxCity;

    private String wxOpenid;

    /** ========================= vo 字段 =============================== */

    private String token;

    private List<String> roles;

    private List<String> permissions;
}